package server;


public class SSLConnection {
	private Server s;
	
	public SSLConnection(Server s) {
		this.s = s;
	}

	public void handleRequest(int req) {

		switch (req) {
		case Server.LOGIN:
			login();
			break;
		case Server.GET_LIST:
			getList();
			break;
		case Server.GET_RECORD:
			getRecord();
			break;
		case Server.NEW_RECORD:
			newRecord();
			break;
		case Server.LOGOFF:
			logoff();
			break;
		default:
			System.err.println("Unknown request.");
		}
	}

	public void login() {
		// TODO Auto-generated method stub
		
	}

	public void getList() {
		// TODO Auto-generated method stub
		
	}

	public void getRecord() {
		// TODO Auto-generated method stub
		
	}

	public void newRecord() {
		// TODO Auto-generated method stub
		
	}
	
	public void logoff() {
		// TODO Auto-generated method stub
		
	}

	public static void sendRecord(String string) {
		// TODO Auto-generated method stub
		
	}
}
